/**
 * 获取app实例
 * @param getCurrentInstance 从vue中获取getCurrentInstance方法
 */
export function useInstance (getCurrentInstance: any) {
  return getCurrentInstance()?.appContext.config.globalProperties
}
